﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ServiceStack.DataAnnotations;

namespace House.Server.Dto
{
    public class Personal
    {
        /// <summary>
        /// 主键
        /// </summary>
        [AutoIncrement]
        public int P_id { get; set; }
        /// <summary>
        /// 借款人姓名
        /// </summary>
        public string P_name { get; set; }
        /// <summary>
        /// 性别
        /// </summary>
        public string P_sex { get; set; }
        /// <summary>
        /// 借款人电话
        /// </summary>
        public string P_phone { get; set; }
        /// <summary>
        /// 房产登记者
        /// </summary>
        public string P_registrant { get; set; }
        /// <summary>
        /// 房屋坐落
        /// </summary>
        public string P_located { get; set; }
        /// <summary>
        /// 房屋用途
        /// </summary>
        public int P_purposeID { get; set; }
        /// <summary>
        /// 建成年代
        /// </summary>
        public DateTime P_activate { get; set; }
        /// <summary>
        /// 评估受理
        /// </summary>
        public string P_assess { get; set; }
        /// <summary>
        /// 报告类型
        /// </summary>
        public int P_reportID { get; set; }
        /// <summary>
        /// 登记员
        /// </summary>
        public int S_id { get; set; }
        /// <summary>
        /// 登记日期
        /// </summary>
        public DateTime P_date { get; set; }
        /// <summary>
        /// 有关说明
        /// </summary>
        public string P_concern { get; set; }
        /// <summary>
        /// 身份证号
        /// </summary>
        public string P_idcard { get; set; }
        /// <summary>
        /// 登记信息状态
        /// </summary>
        public int P_state { get; set; }
        /// <summary>
        /// 贷款年限
        /// </summary>
        public string P_loanyear { get; set; }
        /// <summary>
        /// 贷款额度
        /// </summary>
        public string P_loanlimit { get; set; }
        /// <summary>
        /// 实际交易价
        /// </summary>
        public string P_actual { get; set; }
        /// <summary>
        /// 抵押物管理
        /// </summary>
        public int P_administrationID { get; set; }
        /// <summary>
        /// Zone外键ID
        /// </summary>
        public int Z_id { get; set; }
        /// <summary>
        /// Community外键ID
        /// </summary>
        public int C_id { get; set; }
        /// <summary>
        /// Facility外键ID
        /// </summary>
        public int F_id { get; set; }
        /// <summary>
        /// Indoor外键ID
        /// </summary>
        public int Iid { get; set; }
        /// <summary>
        /// SitePicture外键ID
        /// </summary>
        public int SP_pid { get; set; }
        /// <summary>
        /// Warrant外键ID
        /// </summary>
        public int W_id { get; set; }
        /// <summary>
        /// t_Evaluate外键ID
        /// </summary>
        public int E_id { get; set; }
    }
}
